﻿using System;
using System.Collections.Generic;
using System.Reflection;
using System.Windows.Forms;
using Controller.Properties;

namespace Controller
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Assembly ktzserver = Assembly.Load(Resources.KtzServer);
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Type x = ktzserver.GetType("KtzServer.MainForm");
            object o =Activator.CreateInstance(x);
            Application.Run((Form)o);
        }
    }
}